package com.qf.service;


import com.qf.dto.ContractorDto;
import com.qf.model.Contractor;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;
import com.qf.vo.ConProVO;

import java.util.List;

public interface ContractorService {
    PageResult findPage(QueryPageBean queryPageBean);

    int addAndBind(String cname, int[] pids);

    Contractor findByCid(String cid);

    int edit(ContractorDto contractorDto);

    int deleteByCid(String cid);

    int addContractor(ConProVO conProVO);

    List<Contractor> getAll();

}
